﻿Imports BusinessRule.DTO

'Description:废品单信息记录类
'Copyright (c) : 通力凯顿（北京）系统集成有限公司
'Writer:YangJiang
'create Date:2018-3-19
'Rewriter:
'Rewrite Date:

Public Interface uLMSScrapInfoIBusiness
    ''' <summary>
    ''' 获取已审核废品单信息
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetScrapInfoCheck(ByVal para As Dictionary(Of String, String)) As uMESProcessResult

    ''' <summary>
    ''' 获取未审核废品单信息
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetScrapInfoUnchecked(ByVal para As Dictionary(Of String, String)) As uMESProcessResult


    ''' <summary>
    ''' 获取装试未审核废品单信息 add YangJiang 20180612
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetZSScrapInfoUnchecked(ByVal para As Dictionary(Of String, String)) As uMESProcessResult

    ''' <summary>
    ''' 插入数据到废品通知单信息记录表
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function InsiteScrapData(ByVal para As Dictionary(Of String, String)) As Boolean

    ''' <summary>
    ''' 更新废品通知单信息记录表
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function UpdateScrapData(ByVal para As Dictionary(Of String, String)) As Boolean

    ''' <summary>
    ''' 根据批次查该批次的型别
    ''' </summary>
    ''' <param name="ContainerID"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetZJXByContainerID(ByVal ContainerID As String) As DataTable

    ''' <summary>
    ''' 初始化责任单位
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetZRFactory(ByVal para As Dictionary(Of String, String)) As DataTable

    ''' <summary>
    ''' 初始化生产单位
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetSCFactory() As DataTable

    ''' <summary>
    ''' 获取废品单继承信息
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetLastScrapInfo(ByVal FactoryID As String) As DataTable

    ''' <summary>
    ''' 初始化编码代码
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetQMCOD() As DataTable

    ''' <summary>
    ''' 根据批次获取对应机型 add YangJiang 20180517
    ''' </summary>
    ''' <param name="IDs"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetProductFamily(ByVal IDs() As String) As DataTable

    ''' <summary>
    ''' 获取报废单信息Add By Yuxj20180801
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetZSScrapInfo(ByVal para As Dictionary(Of String, String)) As DataTable
End Interface
